Wavelet Trees for Competitive Programming

نویسندگان

  • Robinson Castro
  • Nico Lehmann
  • Jorge Pérez
  • Bernardo Subercaseaux
چکیده

The wavelet tree is a data structure to succinctly represent sequences of elements over a fixed but potentially large alphabet. It is is a very versatile data structure which exhibits interesting properties even when its compression capabilities are not considered, efficiently supporting several queries. Although the wavelet tree was proposed more that a decade ago, it has not yet been widely used by the competitive programming community. This paper tries to fill the gap by showing how this data structure can be used in classical competitive programming problems, discussing some implementation details, and presenting a performance analysis focused in a competitive programming setting.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Wavelet Trees for All

The wavelet tree is a versatile data structure that serves a number of purposes, from string processing to geometry. It can be regarded as a device that represents a sequence, a reordering, or a grid of points. In addition, its space adapts to various entropy measures of the data it encodes, enabling compressed representations. New competitive solutions to a number of problems, based on wavelet...

متن کامل

Genetic programming with wavelet-based indicators for financial forecasting

Wavelet analysis, as a promising technique, has been used to approach numerous problems in science and engineering. Recent years have witnessed its novel application in economic and finance. This paper is to investigate whether features (or indicators) extracted using the wavelet analysis technique could improve financial forecasting by means of Financial Genetic Programming (FGP), a genetic pr...

متن کامل

Improvement of Gene Expression Programming Model Performance using Wavelet Transform for the Estimation of Long-Term Rainfall in Rasht City

Rainfall may be considered as the most important source of drinking water and watering land in different areas all over the world. Therefore, simulation and estimation of the hydrological phenomenon is of paramount importance. In this study, for the first time, the long-term rainfall in Rasht city was simulated using an optimum hybrid artificial intelligence (AI) model over a 62 year period fro...

متن کامل

A Novel Data Representation Strategy for Wavelet Image Compression

Recent success in wavelet image coding is mainly attributed to recognition of the importance of data organization and representation. Several very competitive wavelet coders have been developed, namely, Shapiro's embedded zerotree wavelets (EZW), Servetto et al.'s morphological representation of wavelet data (MRWD), and Said and Pearlman's set partitioning in hierarchical trees (SPIHT). In this...

متن کامل

Signi cance-Linked Connected Component Analysis for Low Bit Rate Image Coding

Recent success in wavelet image coding is mainly attributed to recognition of the importance of data organization and representation. There have been several very competitive wavelet coders developed, namely, Shapiro's embedded zerotree wavelets (EZW), Servetto et al.'s morphological representation of wavelet data (MRWD), and Said and Pearlman's set partitioning in hierarchical trees (SPIHT). I...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2016